Simplify monad stack manipulation in the Vectorizer module