add the original place of the optimal algorithm