Code complexity reducing in Protein::Worker