[Krzysiek K.] Rename dir and new algorithm.