Fixed encoding byte slices larger than 55
Removed debug log
Changed a method