Effect of volume change on concentration of a substance