@proskynneo: This algorithm