some improvements: e.g. take top fretboard border into account..