Allow alternative Z dimensions for p2g interpolation