Variances in the wall can usually be accounted for by inserting shims behind the cabinets.