Added conversion 8 to 6 bit