ad-hoc fix for lfoat compares (this is not mallons optimal solution yet)