tools: avoid needless post increment on size