Remove unnecessary range