Fixed bug in new parts.

Size must be preserved while extracting the edges.