Updated condition on the cap size