Remove useless size checks