Fix a few more compiler warnings
Stuck: precompute and watch Stat::max