I think because this is the only place MERCY_THRESHOLD was used. Since MERCY_THRESHOLD depends on BOARD_AREA, we can't define the former as a static constant. It seemed easiest to just compute it when we need it, as it's not in a fast inner loop.