Added PerbuildMax and PervisitMax