Added 1D rain-fill imperative solution