Speed up tracing by factor of 4-6, by writing less stupid code.