Extended LMO algorithm