MinimumScalarProduct-small input/output