maxpqwithlinks done