Assume that 4 plots of land A, B, C, and D participate in lottery, and the mortgage amount is 1, 2, 3, and 4 respectively.
The final lottery block is 10000
The hash of the 9998th block is: 0x09cc4bb3ab6bb019e6bdca3a79d07c8d72919cf561489ac9101e4217b3cb8131
The remainder of 1e19 plus 1 is: 0.094 RING; which falls in the (0,1) interval, so corresponding land A wins the prize.
After removing land A, the intervals of B, C, D are (0,2) (2,5) (5,9)
The hash of the 9999th block is:
The remainder of 9e18 plus 1 is: 1.087 RING; which falls in the (0,2) interval, and so the corresponding land B wins the prize.
When the lottery draw is over, both land A and land B win prizes.