Fixing incorrect static assert,
pushing out to CPP file
fixing resizing