ByteWeight

please, joint lines 55 to 60 into one line.

Do not throw nail-parings in the code, if it is hard for you to understand where blocks starts or ends then consider two options:

1. use begin end instead of parens
2. use helper functions.

I personally prefer the latter, since you can:

1. give a clear name, that explains what this block do
2. show explicitly the parameters of the code block, and names them.