Optimize execution time
Merge pull request #3 from alfanick/optimize_tess

Optimize execution time