ENH: use ico or oct as integer