add a two-rows buffer for incoming shapes