Make sure sizes are integer