Unboxed closures pathfinding