changes to planner algorithm: sampling with uniform distribution