@nikopol29: different algorithm