2^1000 problem solved