moved round into LatticeSpace.cpp for MSVC