Modified SHEStream to accept any size key