Collecting before each allocation now to invalidate regular ptrs where stack ptrs should be used.