optimize for size, keep patches close