added support for non-sparse extraction of values