added int24 for boolean reductions, fixed small bug ShapeElim