build bsp, fucking math and geometry