A Novel Heuristic Algorithm for Multi-layer Traffic Engineering in WDM Optical Networks