Draw the arrows of the solution path and improve the performance of step by step option