Thirsty Algorithm