added least sig and most sig for maze_data_check