presto-array/src/main/java/io/prestosql/array/IntBigArrays.java/IntBigArrays/segment
class IntBigArrays:    public static int segment(final long index)
    {
        return (int) (index >>> SEGMENT_SHIFT);
    }