Support for non-contiguous hartids