Elastic and surface energies: Two key parameters for CdSe quantum dot formation