Add minimum number of rows and columns in workspace

Change-Id: I00eb4201681dbec4ebdc76aeff1c711a2f1965fc