M2N ary convert and move Binary Indexed Tree implement in C test