add nchunks function
pass map down to compute_down chunks