contract chains from the end, otherwise there will be gaps!