xmind: add algorithm