stricter heap length requirements