PRO spotchek,name,n1,overlap=overlap edge=383 path='/jasper/cnsr3_data1/pgm/'+name OPENR,big,path,/GET_LUN im=ASSOC(big,BYTARR(383,383)) a=im(n1) b=im(n1+1) FREE_LUN,big a99=pcentile(a,0.99) b99=pcentile(b,0.99) top=(a99+b99)/2. a=a