Fixed scale of width and height after merging.
Added splitField function.