Add routine which adds minimum number of rows.