Join tracing/drawing reimplemented with correct algorithm
* TODO make lines prettier and refactor