BUG: fast memory initialization