Set bed dimensions and end stops