Adjusted the boundaries for all levels