simplified computation of stack mass