fixed shared ptr issues in mutate, hill climb and epihillclimb