Almost kinda working BSP algorithm