fix bug:
    should update height from bottom to top when rotating
complete insert testing