Bernsen algorithm
Bernsen algorithm