Threw memset/memcpy to quadruple speed