Removed called to shortenLine and finding the tables common colour as it wasnt being used. Processing time for app effectively halfed. Amount of lines being found is causing slow down on app processing time.