int for sizes

Signed-off-by: Potsky <potsky@me.com>