Linked cluster expansion in the N bosons problem; petit canonical ensemble