Inline the small object check.