handle case where index is all the same.