Beane explains thought process behind trading Cespedes