transform .timer.merge into a composition
refactor .prof.stats
use float numerical constants to prevent runtime casting
use first and last instead of indexing
use float numeric constants when appropriate