Stylolites are among the most prominent deformation patterns in sedimentary rocks that document localized pressure solution. Recent studies revealed that stylolite roughness is characterized by two distinct scaling regimes. The main goal of the present study is to decipher whether this complex scaling behavior of stylolites is caused by the composition of the host-rock, i.e. heterogeneities in the material, or is governed by inherent processes on respective scales, namely the transition from a Surface energy to an elastic energy dominated regime, as theoretically predicted. For this purpose we have developed a discrete numerical technique, based on a lattice spring model, to simulate the competition between stress, strain, and dissolution ...