So, to paraphrase PD03:
"In terms of an entire organism, the maximum pleasure is the absence of pain throughout the organism. In any part of the organism, any degree of pleasure removes all pain in that part for as long as it is there, because pleasure is equal to the absence of pain."