Mcg: a multilayer general area mcm routing algorithm