Added calculating sum nearest values for cell