Parallel implementation of the UAV path planning in a hazard environment