added constructor with other vector types