Removes extra whitespace in weights_output.insert(3, '').