added corner and noncorner list calculations to allow limiting the combos.