changes: taking decoder initilization out from ssjava loop since it is called only...