Fix hard-coded memset sizes