switch to robust algorithm