This paper presents a new approach to system partitioning based on clustering techniques. The adaptation of the heuristic is based on a robust system model. Major modifications include the formulation of a general and effective closeness function and the use of a new control scheme. The final implementation has been widely checked, obtaining promising conclusions