Forcing top value of group_index to be the same as the size of the Ein grid