Fixed levelmax value to be floor_log_2 of key range