idea to smoothen astar