bfjitopt: cleanups and loop unrolling start