Some more vain attempts to speed up grid creation