Summary: This diff revises the semantics of hasNext model to add the lengths of arrays, rather than join them to top. Reviewed By: ezgicicek Differential Revision: D17882388 fbshipit-source-id: f5edaedb3