X algorithm

" "