Chunks of nasty code to generate synthetic benchmarks