Characterization of vectorization strategies for recursive algorithms