helper arrays for creating arrays with fill-function or some sparse entries