Bugfix for when some fill layers have no avail. fill pixels.

Also remove deprecated n_cpus argument.