added validation to avoid duplicates
added cones of arbitrary range
added validation for huge ranges