stop resizing if single row max reached