update densify to differentiate row and column;

try parallel computing