fixed shrink for case when row=0