Fast hierarchical A(asterisk) path planning for industrial robots based on efficient use of distance computations