Packing the free space between cylinders and pistons