refined astar search
added dataset structure