A change from strong to weak coupling between 25Mg and 27Al