add list and atomic handling in dvapply (for use with brokenstick indices)