If Route optimization is enabled from Configuration, then it will short the added routes with SPF algorithm. It can rearrange route according to their distance from each other. [1] [2]
Note: If you have enabled the SPF from the Default Configuration, only then SPF algorithm gets applied on the route.