def createRasterPreset(steps, step_size, step_rest):
    """Creates a raster for one axis each

    Parameters:
    steps (int): amount of parts the axis shall be split into
    steps_size (int): average pixel size for each step
    step_rest (int): amount of pixels which are added in last iteration

    Returns:
    list: [step_start_coordinate, step_end_coordinate]

    """
    output = []
    counter = 0

    for i in range(steps):
        buffer = [counter]
        counter += step_size
        output.append(buffer + [counter])
    
    output[-1][1] += step_rest

    return output