Principles of AB initio SCF calculations with minimal storage requirements