correctly compare sizes as numbers