Set correct numBytes