Update helpers.rb

Miscalculated the required size of the QR