Is this the same as the edge partition builder except that we would not need to resize the `data` array?