Deallocate the useless _maxima vector as soon as possible.
Merge branch 'master' into benchmarking