Remove redundant code

`Map()` is able to handle all vectorization so remove redundant code.