Initial attempt at pixel distance clustering