max memory usage testing
time profiling changes