build: added 'prof' target
changed profiling parameter to -P
improved oneOfM