Made cube_stride/distance into separate core option