Send outbands length to rasterEngine.
Require spatial.tools with layer=1 bug fixed.