filtered by years to reduce memory requirements
remove mem_change
Changed argument values for testing
minor edits and optimization for memory usage