Fix #145, centralized lattice graph computation (static class)