Made lines curve through local points rather than a single global one