create ranges of numerical data