Record 2^N instead N for the loops counting