Should correct the bug #107 where a static_vector was initialized before being resized. The static_vector is then resize back to 0 to keep original logic.