improved single-subt-lookup