Maybe if they were forced to perform some kind of productive labor, grow food, or do SOMETHING other than lay around in a prison like a societal parasite sucking up our resources.
Actually, I am for the death penalty if there is absolutely no doubt. However, the above is not a bad idea.
I remember my father telling me that he worked at a State Hospital in the 1930's. The mental patients actually had work assignments on the farm and in the orchards, picking fruit, taking care of animals, and even driving tractors (occasionally). The institution was actually self supporting. Then the do-gooders decided that these people shouldn't have to work. So instead, they just sat around and did nothing. That helped no one. Now they became an expense to the taxpayers and they lived a fruitless life. Later, when the State was making some tax cuts, they cut off some of the revenue, and many patients were released only to become homeless street persons.
So, getting back to the pedophiles, why couldn't these parasites be made to support themselves or the community in some way?