Implemented faster itoa with bit counting and reverse write