enter sides within the correct ranges