long leg dp

.