algorithm to create pins inside dip