bsp trees working