Implement variable depth for halo exchange for scalar fields.
Implement variable depth for halo exchange for vector fields.