This code is really similar in both cases.
Maybe use tags just like `even ? 104 : 102`, where `even = indexPath.section % 2 == 0`