& tabpermchain,ishift_pdb,iz_sc,nres_chomo
double precision c,cref,crefjlee,cref_pdb,dc,xloc,xrot,dc_norm,
& t,r,prod,rt,chomo
- common /chain/ c(3,maxres2+2),dc(3,maxres2),xloc(3,maxres),
+ common /chain/ c(3,maxres2+2),dc(3,0:maxres2),xloc(3,maxres),
& xrot(3,maxres),dc_norm(3,maxres2),nres,nres0
common /rotmat/ t(3,3,maxres),r(3,3,maxres),prod(3,3,maxres),
& rt(3,3,maxres)