Complete FPtree construction