You should ensure that there will be room to build the staircase and that there is at least 2 metres of headroom over the stairs, to comply with building regulations. This can be relaxed to 1.8 metres at the edge of the stairway to allow for a sloping roof but you must have 2 metres at the centre.