update better-dim to 1.4.0, fix AMD support, fix -1 day bug
version 1.0.2