Fixing the lib problem of Reusedistance tool