Validity bound of regular registers with churn and byzantine processes