trying to automate estimation of gen skew