Stock processing
Best path in trangle