data structures
sqrt-decomposition
