add sanity check for left extrapolation

this is a fix for some input smiles I came across recently with broken Kahale smiles