MAINT: more conversions to give int32 indices instead of int64