public final Set<?> calculate(TimeState ts, Context cntx) throws SysException {
Set<Prm> prms = calc.get(ts);
if (prms == null)
return null;
Context pcntx = cntx.parent;
PoolThread prcs = calc_parallel.get(ts);
Set<Object> ps = new HashSet<Object>();
if (prcs != null) {
for(Prm e : prms) {
Context.WaitValue v = (e.isParent) ? pcntx.getPrmAsync(prcs, e.fullname)
: cntx.getPrmAsync(prcs, e.fullname);