Extract column calculation to Sprite class