Replaced base_complement with a global array