pass along size separate from default insert position because the sorting uses it as an optimzation. Fix off-by-one error in replace rows
size is now passed along as third argument to insertPosition plugins so multiple plugins can change the default position and the size optimization isn't busted