slight modification on slic
post processing