The calculations must be energetic to avoid the stack overflow.