completion of sim threshold and debugging of f score