Changed throw behaviour. Added min and max for point.