store/restore pieces sizes to/from resume data