first cut at z culling