Design of compromise sum-difference patterns through the iterative contiguous partition method