length and position x and y fixed, ready to integration