compactify base 64 conversion equations