Implemented the fill of out-of-range values.