Change all ~[]s that used the push method to vecs to fix build