ENH: Add maxsize to locate.