Simplify Path.contains() implementation.
Speed up g.scatter implementation.
Scatter: use a random value if no seed is defined.