- added parallel filtering to candidategenerator. TODO: filter only for 3D.