Moved cross and triangle path creation to a static initializer.