improve code readability for skipped merge_idx
output image is now restricted to the conformance window