- Added missing '+ 1' to indices used in obj output