working a*
a* improvement

don't cache node parents across runs