Protocol includes a liquidation logic as can be seen here.
However, when getting into a position, protocol allows users to have their positions to be == collateralRatio which only then subtly breaks protocols logic as users are now immediately liquidatable in the next block.
Users could be immediately liquidatable in the next block.
Consider introducing a buffer logic not to allow users be immediately liquidatable, alternatively have a strict enforcement that there is always a reasonable gap between users position and the CR when they are opening a position.
