Add number of levels refinement setting.