add tolerance to data.table with 0 rows