Module for returning arrays with a specific length by padding values.