Continue wing gemoetry implementation
after much time fighting with red-black trees, it's still not working
Functional LLRB tree