Outputsize should be in bytes, not words.