If you have brilliant ideas for Peter, please reply to this mailing list post and share them.

For your convenience, you can look at the bld_line() function here.