added chunk constructor with crc calculator, no idea if it works