There is absolutely clearer way of getting the value needed without using bitwise shift operators.