fixed generator
density reduction added