Inverted gradient scale. This should remove dependency on Int size.