How do i have something keep track of there height for DLD

use a coordinate system, very memory and time consuming