all incoming values for prims should be positive