write sub rects in node
increase perf