renderChunk: use correct sample set vector length
renderChunk: type signature cleanup