udpated parsing logic to not over-use entitlements when trying to reallocate flex