fixed path crossing astar. need to profile changes.