Crucial role of atomic corrugation on the flat bands and energy gaps of twisted bilayer graphene at the magic angle θ∼1.08∘