Managing the risk of exceeding tolerance margins in micromoulding