Sum on parallelepiped#685