Refactored creation of emptyVector