Control allocation of reaction control jets: quantization and stability