performing crc calculation as soon as byte arrives