fixed database constants size from bits to bytes