The main missing thing is considering left/right pile as one large one.