Revert "Revert "[2/3] native: Change density on the fly""

This reverts commit f214e290c2f5a014dd33b0552aea1382af88988f.