densify method completed