workingon bsp tree