Moved the code that reads the extra byte for a modern inplace