Tests revealed that I've been coding in Java too long. Forgot to use pointers.