ENH move utils near its use
ENH add a benchmark script for sparse input data