further changes to tests for lazy slicing
lazy slicing impl
small optimization on precomputed vals