Another attemps at a sparse implementation,

Plus the environmnet to debug it.
Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>