more optimizing but remains 2x slower...
the traitors toEnt and fromEnt were executed: upward queries now faster