Rectangular input initialization