Limit to 5 instead of 10 to prevent overflow