Why are you increasing the copy chunk size instead of
```
size -= size % alignment;
```
?