simplify range