Some magic numbers and a constant at wrong place