Micro-optmize castling moves