Use nearest neighbour interpolation to avoid different labels