optimize pp density construction