Readability improvement

Fix is based on comments from Yauheni Akhotnikau
( mailto:eao197@gmail.com ). The major change is replacing
1ul << operation with simple inline function does the same.