SuperPixel lattice is not working