Adding optional step value to Interval class