add self-consistent density