added new overhead test, and fixed a precision bug