Make buildCheckpoints work