New functionality for better corrner occlusion problem, works much better