Path-based Fragmentation Metric and RSA Algorithms for Elastic Optical Networks