Integration of CRFNeighbourhood