Added N step divide routines, courtesy of Sugimoto at NEC.