the height of register and map is same