or use 4x4 and quarter-round molding at the corners.

(I'd go untreated... wouldn't want to sleep with the chemicals.)