improves cylinder detection