If you're planning to be that tight with the 90days then a Residency Permit may be a better option - assuming they're still dishing them out locally.
It is always a bad idea leaving a country on the last day of a visas validity - weather, strikes or just a very late inbound aircraft can leave you paying a fine, and having all the associated sh1t that goes with that.
JF