BUG: GetLowerBoundary was not declared in this scope

detected by new gcc version