Trying to identify source of deopts.
Start breaking up megafunction.