Added abort if the dimension in the maps is odd