Added weights to the pool adjacent violator algorithm