- added invalid level in visualization
- added distance between elements (box calculation)