Complex sentence: BSP trees can be used in spaces with any number of dimensions, but quadtrees and octrees are most useful in subdividing 2-and 3-dimensional spaces, respectively.
Split into simpler sentences: BSP trees can be used in spaces with any number of dimensions. Quadtrees and octrees are useful for subdividing 2-and 3-dimensional spaces, respectively.