Modified FLCatches class to match the R implementation