The heterogeneous code need to gracefully handly the contiguous datatype loops in order to have the "#if 0" code path enabled again. This is a performance issue (the correctness is guaranteed by the current code).