Cleaned up ALU with shared constants