This article notes that Massachusetts has a somewhat unique system where, independent from their main prisons, county sheriffs run "houses of correction" for anyone serving 2.5 years or less. It's possible those figures weren't included in their overall budget for this chart, or that it's just a cheaper way of doing things than, for example, putting small-time criminals in max security.