Add 'L', but with limitations, see inline comments for details.