Kinetic Monte Carlo simulation of shape transition of strained quantum dots