multipoint part of #47.