add in the boundry algo for the UAV