fixed a tiny bug when checking for basis points close to 0