I works now :-) it displays a BSP although either the algorithm for partition or the display code isn't working well.