Remove set decimal with optimizeLength