Output space was being computed incorrectly.