need tune blockSize and constValue