A particle number projection study with the generator coordinate method