line is recomputed everytime a pin is dropped