Building database shapes. Database size ~= 250MB.