[ADDED]: added pathStringBuilder and piePeice classes.
[UPDATED]: updated logic with use of new classes.