outline of Eller's algo