Found the problem - needed to remove some old padding code