simple finger proximity algorithm