Fixed memory size problem with garlic > 0