for 2.5d data