zc=[0,0,0,0,0] rmtot=[0]