Handle hairpins of length 0