Added var levelBounds