fix build on low memory parts