Ensure --totalnodes is set at the right time. #44