a* planning. passes 0, 1, 2, 3.