Source formatter optimization