Copy data to buffer before calculation to avoid calculation blocks that don't need obfuscation