working on computing ortho layout goal function...