package MultipolExpansion optimize