Improve boundarymarkers.hint()