this behavior occurs only when the new segment starts before and ends after an already coded segment, in case of a partial overlap, the code gets extended rather than duplicated
Expected behavior:
previous code is extended rather than duplicated
OR
action is not allowed and user is requested to remove the existing code before applying the same code again
Available workaround:
remove existing code and apply it again in the desired dimensions
Expected behavior:
Available workaround: