slic algorithm complete