solve small size