Unify duplicate Breadth-First-Search traversing of the LayeredPainter and SmoothEleva...