adding h to plan_arr for better estimate of planet surface