Algorithmic Crush without segment tree