trying to lower indices -before- flattening