Segments might not necessarily be of dtype intp?