fixed rook,queen. rk_i should start at 1