When the temperature of a substance increases, the molecules do all of the following except: