calc frustum near base on fixed length
change some hardcode variable
move declare out of macro define