calcs/hazard/classical/core:

Renamed _MAX_CURVES_PER_SELECT constant to _CURVE_CACHE_SIZE.
calcs/hazard/classical/core:

Added incremental bulk inserter flushes, once the _CURVE_CACHE_SIZE has been
reached.

This keeps memory usage in check somewhat.