Fixing incorrect memset size