lb-boundaries.cpp switch fixed