stricter requirements on heap length at link time