implemented cube-tree, but lighting not working properly, small fixes