math fix for 50% overlap