I would say a combination of the two helped but I bet that move from the floor into bed was the biggest factor. Are you sure you were actually sleeping on the floor...could that have been a dream?