Refactoring and rewriting sign placement code for junction signs.