Zwitterionic compound crystallization