updated d=25 for cell and d=1 for diam