utilities for xlattice_go and family