py-end-of-top-level, faster with large functions