Integrating BGL for pathfinding.