scatter now uses dofmap to place molecules in the right dofs.