Added ability to discard proposed trees which exceed maxBranchColours.