Modified the logic to have min(shared_dirty, pss) + private_dirty + private_clean & sum them up