Add binary dp