working meanshift with reasonable c value