Add katana version of the algorithm for banana distribution.