changed dynamic allocs