Minor opt: Initialize with contentWindow.size()