Since modern software systems are enormous and complicated, proper abstractions of their structure are essential for better understanding, maintaining and updating these system. In order to create and support such features through generating the architecture levels in the system structure, it is effective to conduct software clustering techniques from the source code. In recent years, mobile systems have developed quickly. However, the width of the information exchanging band in these systems is limited. Moreover, in the graph extracted from the source code, the weighing criterion for clustering algorithms is just the number of calls and no attention has been paid to the rate of data moving between the modules and then in the interactive canals. Therefore, the amount of moved data increases within the network. Consequently, in the current study, we will represent a new algorithm in order to determine how the software system components are distributed among the machines while developing a mobile system with regard to the rate of data exchanged among the components. In the suggested method, the need for the network resources has decreased and also the service quality is improved.