Added blocksize & hash range type checks in constructor