Take a look at the position creation logic in position/commands.rs:
/contracts/farm-manager/src/position/commands.rs#L57-L62
The code unnecessarily loads and increments the position counter before checking if its needed. When creating a position with an explicit identifier, this counter value is never used.
Every position creation with an explicit identifier performs an unnecessary:
Move the counter loading inside the else branch where its actually needed:
This change:
