solve the lratio/rratio calculation for 0-parkinglot situation