I've submitted the design document. I think I should write some flowcharts and UML more, specially about the "octree" thing, but the basic structure is there.

Unfortunately I will not have too much time to work in this project next weeks so I don't know if I'll complete next stage.