Fix javadoc
Improve javadoc
Add minimum distance between labels.