Put rest of crescent detection in backend

Still getting single-segment buffer error