Text this: Effect of confinement on deformability of shale