Change sizes of things so stuff doesn't corrupt memory and segfault