Updating size checks and return best possible thumbnail size