Minimum energy configuration of epitaxial material clusters on a lattice-mismatched substrate