Allocate `start` and `end` in the constructor, too, and then `clone` the parameters into them in `setEndPoints`.