! common /refstruct/
if(.not.allocated(cref)) allocate(cref(3,nres2+2,maxperm)) !(3,maxres2+2,maxperm)
!elwrite(iout,*) "jestem w alloc geo 2"
- allocate(crefjlee(3,nres2+2)) !(3,maxres2+2)
+! allocate(crefjlee(3,nres2+2)) !(3,maxres2+2)
+ if (.not.allocated(crefjlee)) allocate (crefjlee(3,nres2+2))
if(.not.allocated(chain_rep)) allocate(chain_rep(3,nres2+2,maxsym)) !(3,maxres2+2,maxsym)
if(.not.allocated(tabperm)) allocate(tabperm(maxperm,maxsym)) !(maxperm,maxsym)
! common /from_zscore/ in module.compare