update piece size
fix bitfield handling