Isn't it dangerous to set default values for the number of nonzero is dangerous? PETSc will crash if the actual nonzero exceeds the given value (it was working in PETSc 3.2 but not any more in latest).