extract 5 funs from CalcMinCellHeight .依然混乱