usually, under cabinet lights should be at the least 2 inches shorter in comparison to the width of your cabinets and a bit less deep as opposed to recessed region of the cabinet underside.
The bottom-entrance rail in https://antonbccg332070.blogpayz.com/28839875/under-cabinet-lights-an-overview