Rewrote constraint function.
Updated constraint function to disallow overlap.