Modified mac_grid::project() add density value