speed increase for Key_bytes