Frictional effects on the volumetric strain of sandstone