* Replace int by size_t in for loops.
* Various dtor missing and some other warning fixes.
* fixed size_t vs int
* fixed size_t vs int
---------
Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
Co-authored-by: Aik-Siong Koh <askoh@askoh.com>