modified row key generation