Inactivity, lack of companionship and a low level of intellectual stimulation do not constitute cruel and unusual punishment even if they continue for an indefinite period of time, although the duration is a factor to be considered, especially if the confinement is punitive.