Woops, gave wrong size, causing segmentation fault.