Fixed longuestChains, it just werks