Use ints for getApplicablePiece