Let X be a complex projective variety. Suppose that the group of birational automorphisms of X contains finite subgroups isomorphic to (Z/N i Z) r for r fixed and N i arbitrarily large. We show that r does not exceed 2 dim(X). We also show that the same result holds for groups of bimeromorphic automorphisms of compact Kähler threefolds.