replaced std::vector with itkVriableLengthVector