Converts integer halo example to cartesian topology example