Recoded vec class to be specialized by size