Fixed <w> and <w2> so they are divided  by beta and definitely not truncated.