Trim or undercut head oval head screws are available with reduced screw lengths to provide for far better thread grip. This is especially true with the oval undercut head fastener with a shallower countersink.
What is https://types.blog/types-of-screw-heads/