optimization, fixed animation, more A*