change density and rate max