Use a much simpler algorithm