added contiguous series support and run time generation for subexpressions