Removed infinity, not correct implementation.