speed up tspan and selection rect creation