calculateNewTag - Mantain appends/prepends