Different fixes after automatic checks

`size_t`