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