NOW it seems to work for sparse