Created overloads of resize method up to 12 indices