Iterative pava varies between n and n-1 processes to smooth the boundaries