implemented random island shaping