Adding template for large numbers. Fix #2