On dissolution, the final distribution of cash to partners is based on?