Fix algorithm
0.0.1