Tag - space and time complexity