Add nanoPan algorithm