Fixing the size representation of count and compare registers