@medoyia The bottom left straight pen of 0 → move to the upper right of the first 5, so that 5 → 9 the lower left straight stroke of 8 → move to the middle of the second 0, so that 0 → 9, and 8 → 9 at the same time.
508 → 999
So the maximum possible number is 999.