modified PAYLOAD_SIZE, ALIGN_SIZE