Fixed header and used input size instead of num tuples.