gi: don't require needless array length argument