Mean shift testing
i think we should differerentiate between the two offset_theshold