A note on performance.
Every record that is entered is going to be screened to ensure it complies with the variable you have defined, it will then be registered, then indexed variables will be indexed and sorted. These are not trivial processor operations. There is also the matter of Frontier/Manila memory management.
Thus, the following guidelines will save you pulling out some hair:
Need we repeat ourselves... Test your imports. Your source data may be very reliable. Or it may not. addedValues is practical in the sense that it screens each record; if that value does not fit, the record is not loaded. So you can go back, edit your original file and re-import only those records that require cleaning up.