Reversed order of ibase and obase to fix weird bc behaviour.