Fixed dcpf so that it doesn't compute subgrids that are already black.