xmind: update algorithm