Revert "MSVC doesn't allow variable length arrays so an alternate approach is in place"

This reverts commit 0fe8c7b8f375d41b80cc2737668e89313a501089.
Variable length arrays are not supported in MSVC so an alternative approach is in place using regular std::vector