Optimiztions of ExpNumFrag and ExpNumLambda functions